﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CSCore.SoundOut.DirectSound;

namespace FM.录音.Common
{

    public class 声卡
    {
        public static DirectSoundDevice 默认声卡
        {
            get { return DirectSoundDevice.DefaultDevice; }
        }

        public static List<DirectSoundDevice> 所有声卡
        {
            get
            {
                var devices = DirectSoundDevice.EnumerateDevices();
                return devices;
            }
        }
    }

}
